﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebLog.Db.Update
{
    internal abstract class baseUpdateDatabase
    {
        protected KeyValueRepository keyValueRepository { get => KeyValueRepository.GetInstance(); }
        protected SQLiteHelper sqliteHelper { get => SQLiteHelper.GetInstance(); }
        protected SysLogHelper sysLogHelper { get => SysLogHelper.GetInstance(); }
        /// <summary>
        /// 版本号
        /// </summary>
        internal double V { get; set; }
        /// <summary>
        /// 可选 版本解释
        /// </summary>
        internal string Memo { get; set; }
        internal abstract System.Threading.Tasks.Task UpdateAction();
    }
}
